package com.dy.org.service;

import com.dy.basic.service.BaseService;
import com.dy.org.domain.Department;
import com.dy.org.domain.Employee;

import java.util.List;

public interface DepartmentService extends BaseService<Department> {


    // 获取上级部门
    List<Department> findDepartmentTree();

    // 获取员工的信息
    List<Employee> findEmpById(Long id);
}
